package com.example.restful.api;

import lombok.Data;

/**
 * Copyright(C), 2020-2021, AmbroseCdMeng
 * FileName:    ResponseData
 * Author:      AmbroseCdMeng
 * Date:        2021/2/116:37
 * Description: 封装返回结果
 * History:
 * <author>     <time>      <version>       <desc>
 * 作者姓名     修改时间        版本号           描述
 */

@Data
public class ResponseData extends Response{
    private Object data;
    public ResponseData(Object data){
        this.data = data;
    }

    public ResponseData(ExceptionMsg e, Object data){
        super(e);
        this.data = data;
    }
}
